<?php  session_start();
/**
* @package		Parents@School
* @copyright	                Copyright (C) 2008 Kristof Beckers. All rights reserved.
* @Version		2.0
* @license		GNU/GPL, see LICENSE.php
**/

include("config.php");

$conn = mysql_connect($dbhost, $dbuser, $dbpasswd) or die ('Error connecting to mysql');
$link = mysqli_connect($dbhost, $dbuser, $dbpasswd,$dbname);
// check connection
if (mysqli_connect_errno()) {
    printf("Connect failed: %s\n", mysqli_connect_error());
    exit();
}

mysql_select_db($dbname);

$tbvak = $dbprefix."vakken";
$tblk = $dbprefix."leerkracht";
$tbparam = $dbprefix."parameters";
$tbres = $dbprefix."reservaties";
$tbusers = $dbprefix."user";
$tbstaff = $dbprefix."staff";
$tbdate = $dbprefix."date";

$adminid = "1";


?>
